package com.hbnu.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hbnu.demo.bean.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import java.util.List;

/**
 * @Auther: hjx
 * @Date: 2023/6/13 15:41
 * @Description:
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {

    @Select("select * from tb_user")
    List<User> selectList();
}
